/*-----------------------------------------------------------------------------
	6502 Macroassembler and Simulator

Copyright (C) 1995-2003 Michal Kowalski

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-----------------------------------------------------------------------------*/

#ifndef _broadcast_
#define _broadcast_


class CBroadcast
{
public:
  enum WinMsg
  {
    WM_USER_OFFSET = WM_USER + 4100,
    WM_USER_EXIT_DEBUGGER =	WM_USER_OFFSET,
    WM_USER_START_DEBUGGER,
    WM_USER_UPDATE_REG_WND,
    WM_USER_PROG_MEM_CHANGED,	// cała pamięć 6502 została zmieniona (po LOAD lub asemblacji)
    WM_USER_MEM_CHANGED,
    WM_USER_REMOVE_ERR_MARK	// usunąć znaczniki błędu
  };

  void SendMessageToViews(UINT msg, WPARAM wParam= 0, LPARAM lParam= 0);
  void SendMessageToPopups(UINT msg, WPARAM wParam= 0, LPARAM lParam= 0);
};

#endif
